﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace Contract
{

    [Serializable]
    [MessageContract]
    public class MyUser
    {
        public MyUser()
        {
            Fname = "";
            Lname = "";
            Email = "";
            Password ="";
            Gender = "";
            Property = "";
            PCN = "";
        }

        public MyUser(string Fname, string Lname, string Email, string Password, string Gender, string Propterty, string PCN)
        {
            Fname = "";
            Lname = "";
            Email = "";
            Password = "";
            Gender = "";
            Property = "";
            PCN = "";
        }

        [MessageHeader(MustUnderstand = true)]
        public string Fname { get; set; }
       [MessageHeader(MustUnderstand = true)]
        public string Lname { get; set; }
        [MessageHeader(MustUnderstand = true)]
        public string Email { get; set; }
        [MessageHeader(MustUnderstand = true)]
        public string PCN { get; set; }
        [MessageHeader(MustUnderstand = true)]
        public string Password { get; set; }
        [MessageHeader(MustUnderstand = true)]
        public string Gender { get; set; }
        [MessageHeader(MustUnderstand = true)]
        public string Property { get; set; }
    }


}
